package com.corpgovernment.supplier.vo.suppliercompany;

import com.corpgovernment.api.supplier.soa.constant.ProductTypeEnum;
import com.corpgovernment.common.validation.EnumValue;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.validation.constraints.NotBlank;


/**
 * 企业订购 修改 request
 *
 * @author jhxue
 */
@Data
public class InitRequestVo {

    @NotBlank(message = "公司code不能为空")
    private String companyCode;
    @NotBlank(message = "产线类型不能为空")
    @EnumValue(message = "请输出合法的产线类型", value = ProductTypeEnum.class)
    private String productType;
    private String supplierCode;
}
